package com.qiaofang.dataprocessing.stub.constants;

/**
 * @author liuchaogang
 * @date 2017年4月12日
 */
@SuppressWarnings("AlibabaEnumConstantsMustHaveComment")
public enum DataProcessingResponseCode {
    RC_PARAMETER_ERROR("***001", "parameter invalid"),
    RC_EXCEPTION_ERROR("***002", "service exception"),
    RC_CALL_EXCEPTION_ERROR("***003", "call sample service failed"),
    RC_SAVE_ERROR("expandbusiness100", "保存数据失败"),
    RC_UPDATE_ERROR("expandbusiness101", "更新数据失败"),
    RC_REMOVE_ERROR("expandbusiness102", "删除数据失败"),
    RC_NO_SEARCH_SALE_REPORT_EXCEPTION_ERROR("***004", "您没有查看买卖合同报表的权限"),
    RC_NO_SEARCH_NEW_REPORT_EXCEPTION_ERROR("***005", "您没有查看新房合同报表的权限"),
    RC_NO_SEARCH_RENT_REPORT_EXCEPTION_ERROR("***006", "您没有查看租赁合同报表的权限"),
    RC_NO_PERFORMANCE_MOTHLY_FACADE_ERROR("***007", "您没有查看签约业绩报表的权限"),
    RC_NO_PERFORMANCE_MOTHLY_FACADE_SYSTEM_ERROR("***008", "请配置房源或客源的物业参数"),
    RC_SYSTEMCONFIG_REFWORKFLOW_NOBIND_FLOW("refworkflow001", "款类没有对应的审批流程，请绑定后重试"),
    RC_SYSTEMCONFIG_REFWORKFLOW_NOMATCH_POSITION("refworkflow002", "当前职务不允许发起此款类的审批，请调整后重试"),
    RC_SYSTEMCONFIG_REFWORKFLOW_FLOW_REPEAT("refworkflow003", "服务验证款类设置了重复的流程"),
    RC_SYSTEMCONFIG_REFWORKFLOW_POSITION_REPEAT("refworkflow004", "服务验证流程之间存在相同的职务，不允许保存"),
    RC_SYSTEMCONFIGPLATFORMMANAGEMENT_REPEAT("systemconfigPlatformManagement001", "存在重复记录"),
    RC_SYSTEMCONFIGPLATFORMMANAGEMENT_PERCENTAGE_GREATER_THAN_100("systemconfigPlatformManagement002", "门店公司管理费比例之和大于100"),
    RC_VCODE_ERROR("vcode001", "验证码错误"),
    RC_PHONE_ERROR("phone001", "当前手机号不是此带看单关联的客源手机号，请修改后重试！"),
    RC_INSP_EVAL_ISNULL("inspEvalIsNull", "带看评价为空"),
    RC_ALR_EVAL("alrEval", "已评价"),
    RC_REPEAT_SEND_VCODE("repeat_send_vocde", "1分钟内请勿重复发送验证码"),
    RC_NO_ADD_TRUST_MOENY_EXCEPTION_ERROR("trustMoney004", "您没有新增托管金的权限"),
    RC_NO_LIST_TRUST_MOENY_EXCEPTION_ERROR("trustMoney005", "您没有托管金列表查看的权限"),
    FOLDER_DIRECTORY_SAVE_ERROR("folderDirectorySaveError", "保存数据失败"),
    FOLDER_DIRECTORY_SAVE_RANK_ERROR("folderDirectorySaveRankError", "添加失败，文件夹最多只能添加5级"),
    FOLDER_DIRECTORY_UPDATE_ERROR("folderDirectoryUpdateError", "更新数据失败,当前数据已更新!请刷新页面!"),
    FOLDER_DIRECTORY_UPDATE_LEVEL_ERROR("folderDirectoryUpdateLevelError", "文件夹移动失败，文件夹级别不能多于5级"),
    FOLDER_DIRECTORY_UPDATE_LEVEL_PARENT_ERROR("folderDirectoryUpdateLevelParentError", "文件夹移动失败，父文件夹不能移动到子文件夹中"),
    FOLDER_DIRECTORY_REMOVE_ERROR("folderDirectoryRemoveError", "文件夹中还有其他文件夹"),
    FOLDER_DIRECTORY_FILE_REMOVE_ERROR("folderDirectoryFileRemoveError", "文件夹中还有其他文件"),
    RC_SAVE_HONORARY_EXIST_ERROR("honorary001", "该荣誉称号下已存在该团体名称"),
    RC_SAVE_HONORARY_PARM_NULL_ERROR("honorary002", "必填参数参数为空"),
    RC_SAVE_HONORARY_TITLE_EXIST_ERROR("honorary003", "荣誉称号%s已存在"),
    RC_SAVE_HONORARY_COLLECTIVE_EXIST_ERROR("honorary004", "%s+%s已存在"),
    RC_SAVE_HONORARY_RECORD_EMP_EXIST_ERRO("honorary005", "%s员工已授予%s荣誉称号，不能重复授予"),
    RC_SAVE_HONORARY_RECORD_DEPT_EXIST_ERRO("honorary006", "%s部门已授予%s荣誉称号，不能重复授予"),
    RC_SAVE_HONORARY_VALID_PARM_ERRO("honorary007", "称号获奖主体参数非法"),
    RC_SAVE_HONORARY_RECORD_COLLECTIVE_EXIST_ERRO("honorary008", "%s员工已加入%s荣誉团体，不能重复加入"),
    RC_NO_LIST_HONORARY_RECORD_EXCEPTION_ERROR("trustMoney005", "您没有查看荣誉记录的权限"),
    PUBLIC_NO_NAME_EXIST("public_no_name_exist", "公众号名称已存在"),
    PUBLIC_NO_PARAM_NOT_EXIST("public_no_param_not_exist", "公众号参数不存在"),
    PHONE_IS_EMPTY("phone_is_empty", "手机号不能为空"),
    PUBLIC_NO_PARAM_IS_EMPTY("public_no_param_is_empty", "公众号参数不能为空"),
    DEPT_NOT_CHILD("dept_not_child", "无部门数据"),
    RC_SAVE_CREDIT_SCORE_CLASS_EXIST_ERROR("creditscore001", "该行为大类名称已存！"),
    FOLDER_PRINT_PREFIX_ERROR("folderPrintPrefixError", "前缀已存在"),
    INTEGRAL_PROMOTION_RULE_SIZE_ERROR("integralPromotionRuleSizeError", "该等级积分值不能小于上一级的积分值,且不能大于下一级积分"),
    INTEGRAL_PROMOTION_RULE_SIZE_UP_ERROR("integralPromotionRuleSizeUpError", "该等级积分值必须大于上一级的积分值"),
    INTEGRAL_PROMOTION_RULE_LEVEL_ERROR("integralPromotionRuleLevelError", "等级名称已存在"),
    INTEGRAL_PROMOTION_RULE_REMOVE_ERROR("integralPromotionRuleRemoveError", "该等级已有员工，不允许删除！"),
    INTEGRAL_PLACE_SAVE_ERROR("integralPlaceSaveError", "添加失败，不能添加此类型"),
    INTEGRAL_PLACE_REWARD_PUNISHMENT_ERROR("integralPlaceRewardPunishmentError", "已设置积分规则"),
    RC_NO_LIST_EMPLOYEE_INTEGRAL_EXCEPTION_ERROR("rcNoListEmployeeIntegralExceptionError", "您没有查看积分晋升汇总的权限"),
    RC_ERROR_VALIDATE_001("RC_ERROR_VALIDATE_001", "本房源距离上一次有效状态小于%s小时,无法生成验真任务"),
    RC_ERROR_VALIDATE_002("RC_ERROR_VALIDATE_002", "今日房源认领数量已达%s套上限,无法生成验真任务"),
    RC_ERROR_VALIDATE_003("RC_ERROR_VALIDATE_003", "已检测到该房源在%s小时内生成过验真任务,无法新增同一房源"),
    PAPER_CONTRACT_NO_REPEAT("PAPER_CONTRACT_NO_REPEAT","该号段有部分编号与系统内编号存在重复，请核查后再新增"),
    RC_OPERATETYPE_ERROR("RC_OPERATETYPE_ERROR","无合同更新类型，请检查参数"),
    PAPER_CONTRACT_NO_NOT_EXIT("PAPER_CONTRACT_NO_NOT_EXIT","纸质合同编号不存在"),
    PAPER_CONTRACT_NO_STATUS_USED("PAPER_CONTRACT_NO_STATUS_USED","纸质合同编号已使用，请重新输入纸质合同编号。"),
    PAPER_CONTRACT_NO_STATUS_RECOVERYED("PAPER_CONTRACT_NO_STATUS_RECOVERYED","纸质合同编号已回收，请重新输入纸质合同编号。"),
    PAPER_CONTRACT_NO_STATUS_DISCARD("PAPER_CONTRACT_NO_STATUS_DISCARD","纸质合同编号已作废，请重新输入纸质合同编号。"),
    PAPER_CONTRACT_NOT_USE_PERMISSION("PAPER_CONTRACT_NOT_USE_PERMISSION","当前登录人无权限使用该纸质合同编号");

    private String responseCode;
    private String responseMessage;

    DataProcessingResponseCode(String responseCode, String responseMessage) {
        this.responseCode = responseCode;
        this.responseMessage = responseMessage;
    }

    public String getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode;
    }

    public String getResponseMessage() {
        return responseMessage;
    }

    public void setResponseMessage(String responseMessage) {
        this.responseMessage = responseMessage;
    }


}

